package com.qst.financing.entity;

import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class Finance {
    private Integer financeId;
    private String ownName;
    private String realName;
    private String phone;
    private String idNum;
    private String combinationName1;
    private String combinationName2;
    private String combinationPhone1;
    private String combinationPhone2;
    private String combinationIdnum1;
    private String combinationIdnum2;
    private String combinationName;
    private Integer bankId;

    private Integer status;
    private String remark;

    @NotBlank(message = "金额不能为空")
    private BigDecimal money;
    @NotBlank(message = "利率不能为空")
    private BigDecimal rate;
    @NotBlank(message = "还款周期不能为空")
    private Integer repayment;

    private Date createTime;
    private Date updateTime;
    private String fileInfo;
    private String[] file;

}